package com.lv.dhart.beans.market;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * 用户钱包余额
 */
public class UserWalletBalance implements Serializable {

    private static final long serialVersionUID = 2070671913290962114L;
    /**
     * code : 0
     * message :
     * data : {"margin":0,"acctNo":"6214832156385812","availableMoney":0,"balance":0,"freezeMoney":0,"bankNo":"308584000013","bankName":"招商银行","acctName":"许彬彬","status":"0"}
     */

    @SerializedName("code")
    private Integer code;
    @SerializedName("message")
    private String message;
    @SerializedName("data")
    private DataDTO data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        /**
         * margin : 0.0
         * acctNo : 6214832156385812
         * availableMoney : 0.0
         * balance : 0.0
         * freezeMoney : 0.0
         * bankNo : 308584000013
         * bankName : 招商银行
         * acctName : 许彬彬
         * status : 0
         */

        @SerializedName("margin")
        private Double margin;
        @SerializedName("acctNo")
        private String acctNo;
        @SerializedName("availableMoney")
        private Double availableMoney;
        @SerializedName("balance")
        private Double balance;
        @SerializedName("freezeMoney")
        private Double freezeMoney;
        @SerializedName("bankNo")
        private String bankNo;
        @SerializedName("bankName")
        private String bankName;
        @SerializedName("acctName")
        private String acctName;
        @SerializedName("status")
        private String status;

        public Double getMargin() {
            return margin;
        }

        public void setMargin(Double margin) {
            this.margin = margin;
        }

        public String getAcctNo() {
            return acctNo;
        }

        public void setAcctNo(String acctNo) {
            this.acctNo = acctNo;
        }

        public Double getAvailableMoney() {
            return availableMoney;
        }

        public void setAvailableMoney(Double availableMoney) {
            this.availableMoney = availableMoney;
        }

        public Double getBalance() {
            return balance;
        }

        public void setBalance(Double balance) {
            this.balance = balance;
        }

        public Double getFreezeMoney() {
            return freezeMoney;
        }

        public void setFreezeMoney(Double freezeMoney) {
            this.freezeMoney = freezeMoney;
        }

        public String getBankNo() {
            return bankNo;
        }

        public void setBankNo(String bankNo) {
            this.bankNo = bankNo;
        }

        public String getBankName() {
            return bankName;
        }

        public void setBankName(String bankName) {
            this.bankName = bankName;
        }

        public String getAcctName() {
            return acctName;
        }

        public void setAcctName(String acctName) {
            this.acctName = acctName;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }
}
